package edu.njust.Service.attribute.impl;

import edu.njust.Service.attribute.AttributeService;
import edu.njust.dao.AttributeMapper;
import edu.njust.domain.attribute.Attribute;
import edu.njust.domain.user.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AttributeServiceImpl implements AttributeService {

    @Autowired
    private AttributeMapper attributeMapper;

    @Override
    public List<Attribute> selectRoomState() {
        List<Attribute> attributes = attributeMapper.selectRoomState();
        return attributes;
    }

    @Override
    public List<Attribute> selectRoomLevel() {
        List<Attribute> attributes = attributeMapper.selectRoomLevel();
        return attributes;
    }

    @Override
    public List<Attribute> selectCommodityType() {
        List<Attribute> attributes = attributeMapper.selectCommodityType();
        return attributes;
    }

    @Override
    public List<Attribute> selectPayWay() {
        List<Attribute> attributes = attributeMapper.selectPayWay();
        return attributes;
    }

    @Override
    public List<Attribute> selectGender() {
        List<Attribute> attributes = attributeMapper.selectGender();
        return attributes;
    }

    @Override
    public List<Attribute> selectNation() {
        List<Attribute> attributes = attributeMapper.selectNation();
        return attributes;
    }

    @Override
    public List<Attribute> selectPapers() {
        List<Attribute> attributes = attributeMapper.selectPapers();
        return attributes;
    }

    @Override
    public List<Attribute> selectEducationDegree() {
        List<Attribute> attributes = attributeMapper.selectEducationDegree();
        return attributes;
    }

    @Override
    public List<Attribute> selectThingReason() {
        List<Attribute> attributes = attributeMapper.selectThingReason();
        return attributes;
    }

    @Override
    public List<Attribute> selectNum() {
        List<Attribute> attributes = attributeMapper.selectNum();
        return attributes;
    }

    @Override
    public List<Attribute> selectPredetermineState() {
        List<Attribute> attributes = attributeMapper.selectPredetermineState();
        return attributes;
    }

    @Override
    public List<Attribute> selectIsBillID() {
        List<Attribute> attributes = attributeMapper.selectIsBillID();
        return attributes;
    }
}
